﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using EzyGoEzySystem.Models;

namespace EzyGoEzySystem.Interfaces
{

    /// <summary>
    /// interface for ticket controller to communicate with FareManagementService
    /// return a list of TravelJournalEntry objects to ticket controller with updated balance
    /// update the balance of customer
    /// <author>Trang</author>>
    /// </summary>
    interface IFarePayment
    {
        IEnumerable<TravelJournalEntry> ChargeCalculate(IEnumerable<TravelJournalEntry> list, EzyGoEzyDBContext dbContext);
    }
}
